package com.dynamic.controller;

import javax.servlet.http.HttpServletRequest;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class UserController {
	@RequestMapping("/index")
	public ModelAndView toIndex(HttpServletRequest request,Model model){
		System.out.println("234----");
		ModelAndView   mv = new ModelAndView();
		mv.setViewName("index");
		return  mv;
	}
}